package com.fr.base.core.html;

import java.io.PrintWriter;

public class TextHtml extends Html
{
  private String text;

  public TextHtml(String paramString)
  {
    this.text = paramString;
  }

  public void writeHtml(PrintWriter paramPrintWriter)
  {
    if (this.text != null)
      paramPrintWriter.print(this.text);
  }

  public Object clone()
    throws CloneNotSupportedException
  {
    return clone();
  }
}